﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace PuzzleCoop
{
    class Cursor
    {
        Vector2 DrawPosition;
        Texture2D sprite;
        public Cursor()
            : base()
        {
            sprite = GameScreenManager.Load<Texture2D>("Images\\cursor");
        }

        public void Update(GameTime gameTime)
        {
            DrawPosition = Input.MousePos;
        }

        public virtual void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(sprite, DrawPosition, null, Color.White, 0, new Vector2(sprite.Width / 1, sprite.Height / 2), 0, SpriteEffects.None, 0);
        }
    }
}
